package com.example.redis.jedisCluster;

import org.springframework.beans.factory.annotation.Autowired;
import redis.clients.jedis.JedisCluster;

public class Producer {
    @Autowired
    JedisCluster jedisCluster;

    public void test() {
        for (int i = 0; i < 10; i++) {
            jedisCluster.lpush("listingList", "value_" + i);
        }
    }
}
